package com.zufe.Test2;

public class Teacher extends Person {
    private String section;

    public Teacher() {
    }

    public Teacher(String section) {
        this.section = section;
    }

    public Teacher(String name, int age, String section) {
        super(name, age);
        this.section = section;
    }

    public String getSection() {
        return section;
    }

    public void setSection(String section) {
        this.section = section;
    }

    public void publishForm(){
        System.out.println("发布问卷");
    }
}
